home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC]
/
NeXTSTEP 3.3 Dev Intel.iso
/
NextDeveloper
/
Headers
/
bsd
/
regex.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-27
|
490b
|
17 lines
#define ESIZE 512
#define NBRA 9
struct regex {
char expbuf[ESIZE];
const char *braslist[NBRA];
const char *braelist[NBRA];
char circf;
const char *start, *end; /* pointers to occurrence in 's' */
};
extern const char *re_comp(const char *string);
extern int re_exec(const char *string);
extern int recmp(const char *pattern, const char *target);
extern struct regex *re_compile(const char *string, int fold);
extern int re_match(const char *string, struct regex *r);